

<script>
import { userProfileget } from "@/api/index.js";
export default {
  onLaunch: function() {
    this.$store.dispatch("WEBSOCKET_INIT", "wss://caps.runde.pro/wss");
  },
  onShow: function() {
    console.log("App Show");
  },
  onHide: function() {
    console.log("App Hide");
    // this.$store.dispatch("CLOSE_SOCKET");
  }
};
</script>

<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-ui/index.scss";
/*每个页面公共css */
@import "./style/uni.css";
/**上传样式 */
@import "./style/detail.scss";
/*每个页面公共css */
page {
  height: 100%;
  background-color: white;
}

.content {
  background: #f4f5f7;
  min-height: 100%;
  box-sizing: border-box;
  padding-bottom: 200rpx;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: rgb(78, 78, 78);
  font-family: "宋体", "微软雅黑", "Arial";
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
</style>
